package com.yht.org.service;

import com.yht.basic.util.QueryResult;
import com.yht.org.domain.Employee;
import com.yht.org.domain.Shop;
import com.yht.org.query.EmployeeQuery;
import com.yht.org.query.ShopQuery;

import java.util.List;

public interface IShopService {
    /*添加*/
    void add(Shop shop);
    /*删除*/
    void delete(Long id);
    /*修改*/
    void update(Shop shop);
    /*根据id查询*/
    Shop findById(Long id);
    /*查询所有*/
    List<Shop> findAll();
    /*分页查询*/
    QueryResult<Shop> findByShopQuery(ShopQuery shopQuery);
}
